home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / SCSL / clarfg.z / clarfg
Encoding:
Text File  |  2002-10-03  |  3.2 KB  |  133 lines

  1.  
  2.  
  3.  
  4. CCCCLLLLAAAARRRRFFFFGGGG((((3333SSSS))))                                                          CCCCLLLLAAAARRRRFFFFGGGG((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      CLARFG - generate a complex elementary reflector H of order n, such that
  10.      H' * ( alpha ) = ( beta ), H' * H = I
  11.  
  12. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.      SUBROUTINE CLARFG( N, ALPHA, X, INCX, TAU )
  14.  
  15.          INTEGER        INCX, N
  16.  
  17.          COMPLEX        ALPHA, TAU
  18.  
  19.          COMPLEX        X( * )
  20.  
  21. IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  22.      These routines are part of the SCSL Scientific Library and can be loaded
  23.      using either the -lscs or the -lscs_mp option.  The -lscs_mp option
  24.      directs the linker to use the multi-processor version of the library.
  25.  
  26.      When linking to SCSL with -lscs or -lscs_mp, the default integer size is
  27.      4 bytes (32 bits). Another version of SCSL is available in which integers
  28.      are 8 bytes (64 bits).  This version allows the user access to larger
  29.      memory sizes and helps when porting legacy Cray codes.  It can be loaded
  30.      by using the -lscs_i8 option or the -lscs_i8_mp option. A program may use
  31.      only one of the two versions; 4-byte integer and 8-byte integer library
  32.      calls cannot be mixed.
  33.  
  34. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  35.      CLARFG generates a complex elementary reflector H of order n, such that
  36.      H' * ( alpha ) = ( beta ), H' * H = I.            (   x   )   (   0  )
  37.  
  38.      where alpha and beta are scalars, with beta real, and x is an (n-1)-
  39.      element complex vector. H is represented in the form
  40.  
  41.            H = I - tau * ( 1 ) * ( 1 v' ) ,
  42.                          ( v )
  43.  
  44.      where tau is a complex scalar and v is a complex (n-1)-element vector.
  45.      Note that H is not hermitian.
  46.  
  47.      If the elements of x are all zero and alpha is real, then tau = 0 and H
  48.      is taken to be the unit matrix.
  49.  
  50.      Otherwise  1 <= real(tau) <= 2  and  abs(tau-1) <= 1 .
  51.  
  52.  
  53. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  54.      N       (input) INTEGER
  55.              The order of the elementary reflector.
  56.  
  57.      ALPHA   (input/output) COMPLEX
  58.              On entry, the value alpha.  On exit, it is overwritten with the
  59.              value beta.
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. CCCCLLLLAAAARRRRFFFFGGGG((((3333SSSS))))                                                          CCCCLLLLAAAARRRRFFFFGGGG((((3333SSSS))))
  71.  
  72.  
  73.  
  74.      X       (input/output) COMPLEX array, dimension
  75.              (1+(N-2)*abs(INCX)) On entry, the vector x.  On exit, it is
  76.              overwritten with the vector v.
  77.  
  78.      INCX    (input) INTEGER
  79.              The increment between elements of X. INCX > 0.
  80.  
  81.      TAU     (output) COMPLEX
  82.              The value tau.
  83.  
  84. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  85.      INTRO_LAPACK(3S), INTRO_SCSL(3S)
  86.  
  87.      This man page is available only online.
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.